/*
 * @Author: your name
 * @Date: 2020-10-26 10:44:26
 * @LastEditTime: 2020-10-29 15:30:10
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /Project/DemoNodeProject/src/Redurces/OrderRedurce.js
 */


import { combineReducers } from 'redux'


import { commonReducer } from './RootRedurce'

const Order = combineReducers(
    {
        
        //下单接口
        createOrder:commonReducer('api/createOrder'),
        //获取订单列表
        orderList:commonReducer('api/orderList'),
        //订单支付状态
        orderPayStatus:commonReducer('api/orderPayStatus'),
        //商家确认接单
        confirmOrder:commonReducer('api/confirmOrder'),
        //骑手抢单
        robOrder:commonReducer('api/robOrder'),
        //骑手取餐成功
        getOrderFood:commonReducer('api/getOrderFood'),
        //确认完成配送
        finishOrder:commonReducer('api/finishOrder'),
    }    
)
export default Order